/**
 * Created on 13 avr. 08 by Sebastian Audet
 */
package gui2Dengine;

import grid.Grid;
import grid.Location;

import java.awt.Shape;
import java.util.Collection;
import java.util.Map;


/**
 * This abstract class facilitates a map that generates display info for a given Grid
 * @author Sebastian Audet
 */
public abstract class DisplayMap {
    
    Grid grid;
    double length;
    double width;
 
    Collection<Shape> shapes;
    Map<Location,Shape> shapemap;
    
    DisplayMap(Grid grid,double length,double width)
    {
	this.grid=grid;
	this.length=length;
	this.width=width;
    }
    
    /**
     * Method to generate the <code>Shape</code> data
     */
    public abstract void generateShapeData(int xoffset, int yoffset,int xunits,int yunits);
}
